package org.xdq.demo.page;

public abstract class PageParam {

    //pageNum和pageSize分别给以初值，即当没有接收到参数时，以初值做为参数
    private Integer pageNum = 1;//页码
    private Integer pageSize = 10;//每页最大记录数

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
